package cn.lls.dao;

import cn.lls.req.company.CompanyReq;
import cn.lls.req.company.ConditionSearchCompanyReq;
import cn.lls.vo.company.CompanyAllInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 划水艺术家
 * @since 2022-11-15
 */
@Mapper
public interface CompanyAllInfoDao extends BaseMapper<CompanyReq> {

    IPage<CompanyAllInfo> getCompanyInfoByPageAndCondition(IPage page,
                                                           @Param("req") ConditionSearchCompanyReq conditionSearchCompanyReq);

    CompanyAllInfo getCompanyById(Long companyId);

}
